home *** CD-ROM | disk | FTP | other *** search
/ NetNews Offline 2 / NetNews Offline Volume 2.iso / news / comp / lang / c++-part2 / 14010 < prev    next >
Encoding:
Internet Message Format  |  1996-08-05  |  1.1 KB

  1. Path: news.ichange.com!newsmaster
  2. From: Jesse Liberty <jl@staff.ichange.com>
  3. Newsgroups: comp.lang.c++
  4. Subject: Re: Generic classes and inheritance
  5. Date: Thu, 28 Mar 1996 07:22:53 -0500
  6. Organization: AT&T
  7. Message-ID: <315A849D.736B@staff.ichange.com>
  8. References: <3157368b.0@news.sisna.com>
  9. NNTP-Posting-Host: 140.244.99.60
  10. Mime-Version: 1.0
  11. Content-Type: text/plain; charset=us-ascii
  12. Content-Transfer-Encoding: 7bit
  13. X-Mailer: Mozilla 2.0 (Win95; I)
  14. CC: jl@staff.ichange.com
  15.  
  16. Josh Gustafson wrote:
  17. > Can a generic class be a base class for another generic class?  If so, what
  18. > does the definition for the derived class look like?
  19.  
  20. What do you mean by a generic class? Do you mean an Abstract Data Type 
  21. (a class with one or more pure virtual functions)?  Then the answer is 
  22. yes, and the declaration for the derived class looks like any other 
  23. derived class.
  24.  
  25. ------
  26. Jesse Liberty [AT&T New Media Services]
  27. jl@staff.ichange.com    ZDNet: 72241,72
  28. Teach Yourself C++ In 21 Days. Sams 1994
  29. Teach Yourself MORE C++ In 21 Days. Sams 1996
  30. Teach Yourself ANSI C++ In 21 Days. Sams 1996
  31. C++: An Introduction To Programming. Que 1996
  32.